Packetery\Module\Carrier\OptionsPage B

Total Complexity 90
Dependencies 21
Dependents 7
Total lines 884
Lines of code 519
Logical lines of code 252
Comment lines 162
Methods 22
Properties 11

Methods 22

Method Rating Maintainability Complexity Lines of code
createForm()
C
28
22 133
validateOptions()
A
45 9 46
render()
A
38 7 75
getCarrierTemplateData()
A
48 8 33
updateOptions()
A
47 7 37
getVendorCheckboxesConfig()
S
51 7 27
mergeNewLimits()
S
59 5 15
getCheckedVendors()
S
60 4 14
getAvailableVendors()
S
62 4 12
createUrl()
S
59 3 15
addWeightLimit()
S
54 1 20
isAvailableVendorsCountLowByCarrierId()
S
75 2 4
checkOverlapping()
S
67 2 7
addProductValueLimit()
S
58 1 14
addSurchargeLimit()
S
58 1 14
register()
S
61 1 14
__construct()
S
60 1 13
createFormTemplate()
S
61 1 12
sortLimits()
S
72 1 5
createFieldContainerId()
S
79 1 3
createCouponFreeShippingForFeesContainerId()
S
79 1 3
isAvailableVendorsCountLowerThanRequiredMinimum()
S
79 1 3